import request from '@/utils/request'

// 查询考试记录-特种设备列表
export function listExamRecordSpecial(query) {
  return request({
    url: '/examination/examRecordSpecial/list',
    method: 'get',
    params: query
  })
}

// 查询考试记录-特种设备详细
export function getExamRecordSpecial(examRecordId) {
  return request({
    url: '/examination/examRecordSpecial/' + examRecordId,
    method: 'get'
  })
}

// 新增考试记录-特种设备
export function addExamRecordSpecial(data) {
  return request({
    url: '/examination/examRecordSpecial',
    method: 'post',
    data: data
  })
}

// 修改考试记录-特种设备
export function updateExamRecordSpecial(data) {
  return request({
    url: '/examination/examRecordSpecial',
    method: 'put',
    data: data
  })
}

// 删除考试记录-特种设备
export function delExamRecordSpecial(examRecordId) {
  return request({
    url: '/examination/examRecordSpecial/' + examRecordId,
    method: 'delete'
  })
}
